package com.augurit.smartform.constant;

public class PageConstant {
	/**
	 * 替换模板使用的常量区
	 */
	public final static String KEY_PAGETOP="pageTop";
	public final static String PAGETOP="<%@ page contentType=\"text/html;charset=UTF-8\"%>";
	public final static String TAGLIBS="<%@ include file=\"/smartform/public/taglibs_smartform.jsp\"%>";
	public final static String KEY_TITLE="title";
	public final static String KEY_JAVASCRIPT="javascript";
	public final static String KEY_COMMONMETA="commonMeta";
	public final static String COMMONMETA="<%@ include file=\"/smartform/public/meta_smartform.jsp\"%>";
	public final static String COMMONMETA_EXT="<%@ include file=\"/smartform/public/meta_smartform_ext.jsp\"%>";
	public final static String COMMONMETA_WF="<%@ include file=\"/smartform/public/meta_smartform_wf.jsp\"%>";
	public final static String COMMONMETA_OA="<%@ include file=\"/smartform/public/meta_smartform_oa.jsp\"%>";
	public final static String KEY_REPEAT_START="repeat_start";
	public final static String REPEAT_START="<s:iterator value=\"#request.page.result\">";
	public final static String KEY_REPEAT_END="repeat_end";
	public final static String REPEAT_END="</s:iterator>";
	public final static String KEY_REPEAT_ID_PARAM="repeat_id_param";
	public final static String REPEAT_ID_PARAM="id=${ID}";
	public final static String KEY_PAGER="pager";
	public final static String PAGER="<%@ include file=\"/smartform/public/pager_smartform.jsp\"%>";
	public final static String KEY_PAGER_TOP="pager_top";
	public final static String PAGER_TOP="<%@ include file=\"/smartform/public/pager_top_smartform.jsp\"%>";
	public final static String KEY_CMPELEMENT="cmpElement";
	public final static String KEY_CMPXML="cmpXml";
	
	/**
	 * 公用常量区
	 */
	public final static String VALUE_SEPERATOR="★";
	public final static String STR_SEPERATOR="_";
	public final static String COLON_SEPERATOR=":";
	public final static String QUES_SEPERATOR="?";
	public final static String AND_SEPERATOR="&";
	public final static String COMMA_SEPERATOR=",";
	public final static String FILE_SEPERATOR="/";
	
	/**
	 * 页面URL前缀
	 */
	public final static String PREFIX_PAGE_PATH="/parser/page!openPage.action?pageCode=";
	public final static String PREFIX_OPEN_PAGE_PATH="page!openPage.action?pageCode=";
	
	/**
	 * 系统相关的后缀
	 */
	public final static String OPTIONS_SUFFIX="_OPTIONS";
	public final static String FORM_SUFFIX="_form";
	
	/**
	 * 数据库常量区
	 */
	public final static String VERSION_FLAG="_V";
	public final static String PREFIX_SEQUENCE="SEQ_";
	
	/**
	 * 工作流共用的按钮
	 */
	public final static String WF_TOOLBAR="WF_TOOLBAR";
	public final static String WF_SAVE_IFRAME="WF_SAVE_IFRAME";
	public final static String WF_VIEW_PROC_DIAG="WF_VIEW_PROC_DIAG";
	public final static String WF_HISTORY="WF_HISTORY";
	public final static String WF_RETURN_PREV_TASK="WF_RETURN_PREV_TASK";
	public final static String WF_SEND="WF_SEND";
	public final static String WF_OPINION="WF_OPINION";
	public final static String WF_DOWNLOAD="WF_DOWNLOAD";
	public final static String WF_ATTACH_REFRESH="WF_ATTACH_REFRESH";
	public final static String WF_UPLOAD_ATTACH="WF_UPLOAD_ATTACH";
	public final static String WF_DELETE_FILE="WF_DELETE_FILE";
	
	/**
	 * 页面字段常量
	 */
	public final static String KEY_ID="id";
	public final static String KEY_PARENT_ID="parentId";
	public final static String KEY_MASTER_ENTITY_KEY="masterEntityKey";
	public final static String KEY_PAGE_ID="pageId";
	public final static String KEY_PAGE_CODE="pageCode";
	public final static String KEY_COMPONENT_ID="componentId";
	public final static String KEY_EVENT="evt";
	public final static String KEY_CHECKEDIDS="checkedIds";
	public final static String PAGE_FUNCTION_NAME="initPage";
	public final static String BEFORE_WF_SAVE="beforeWfSave";
	
	private PageConstant(){}
}
